$(function(){
	//获取parent数据表个row,渲染界面
	var row = parent.$("#assetScrapTable").jfTable("getRow",parentRowIndex);
//	var approveDate = $("#approveDate").val();
   console.info(row);
	
	//渲染数据表格
	layui.use('table', function(){
		  var table = layui.table;
		  
		  table.render({
		    elem: '#itemTable'
		    ,url:'../assetscrap/getScrapDetailTable.shtml?id='+row.id
		    ,method:'post'
		    ,cols: [[
		      {field:'assetInfoRfidCode', width:100, title: 'rfid'}
		      ,{field:'typeName', width:80, title: '类型'}
		      ,{field:'scrapStatus', width:80, title: '状态',
		    		templet: '#titleTpl'
		      }
		      ,{field:'scrapTimeStr', width:100, title: '报废时间'}
		    ]]
		    ,page: true
		  });
   });
	
});
